package com.itheima.stock.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 存储股票根据代码模糊查询的对象
 */
@ApiModel(description = "存储股票根据代码模糊查询的对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class StockSearchInfo {

    /**
     * 股票代码
     */
    @ApiModelProperty(value = "股票代码", position = 1)
    private String code;

    /**
     * 股票名称
     */
    @ApiModelProperty(value = "股票名称", position = 2)
    private String name;
}
